import React from "react";
import { useRoutes, RouterProvider } from "react-router-dom";
import { routerList } from "./route/index";

const App = () => {
  return <RouterProvider router={routerList}></RouterProvider>;
  // const El = () => useRoutes(routerList);
  // return <div>{<El />}</div>;
};

export default App;
